/**
 * Copyright - Accor - All Rights Reserved www.accorhotels.com
 */
package com.my.imq.web.tools.dto;

import java.io.Serializable;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author <a href="MABDELOUHAB">MABDELOUHAB</a>
 * created 22 févr. 2013
 * @since 
 * @version $Id$
 */
@XmlRootElement(name = "broker")
public class BrokerDTO
    implements Serializable
{

    private List<ChartDTO> charts;

    /**
     * @return the charts
     */
    @XmlElementWrapper(name = "charts")
    @XmlElement(name = "chart")
    public List<ChartDTO> getCharts()
    {
        return charts;
    }

    /**
     * @param charts the charts to set
     */
    public void setCharts( List<ChartDTO> charts )
    {
        this.charts = charts;
    }

    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "BrokerDTO [" + ( charts != null ? "charts=" + charts : "" ) + "]";
    }

}
